<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Wall</title>
</head>
<script language="JavaScript">

var sURL = unescape(window.location.pathname);

function doLoad()
{
    // the timeout value should be the same as in the "refresh" meta-tag
    setTimeout( "refresh()", 2*1000 );
}

function refresh()
{
    //  This version of the refresh function will cause a new
    //  entry in the visitor's history.  It is provided for
    //  those browsers that only support JavaScript 1.0.
    //
    window.location.href = sURL;
}
</script>
<body onload="doLoad()">
<div style="background-image: url('fondo.jpg'); height: 1600px;">
<f:view>
<br></br>
<br></br>
<br></br>
<br></br>
<div style="background-color: white; width: 764px; height: 1500px; margin-left: 400px; pa-top: 100px;">

<bR></bR><bR></bR>
<bR></bR>
<center>
<h:form id="Select">
	<h:dataTable width="700px"  border="1" binding="#{moderadorBean.dataTable}" value="#{moderadorBean.mensajesWall}" var="loc">                    		
		<h:column id="column4">				
			<f:facet name="header">
				<h:outputText value="Celular"></h:outputText>				
			</f:facet>
				<h:outputLabel value="#{loc.celular}"></h:outputLabel>
		</h:column>		
		<h:column id="column1">				
			<f:facet name="header">
				<h:outputText value="Mensaje"></h:outputText>				
			</f:facet>
				<h:outputLabel value="#{loc.mensaje}" title="txt_mensaje"></h:outputLabel>
		</h:column>				
		<h:column id="column5">				
			<f:facet name="header">
				<h:outputText value="Fecha"></h:outputText>				
			</f:facet>
				<h:outputLabel value="#{loc.fecha}"></h:outputLabel>
		</h:column>		
	</h:dataTable>					 		                                      
 </h:form>
 </center>



</div>
</f:view>
</div>
</body>
</html>